home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / Fly Paper / FlyPaper Source / App Sources / Thumbnail.h < prev   
Encoding:
C/C++ Source or Header  |  1996-06-22  |  387 b   |  29 lines  |  [TEXT/CWIE]

  1. #ifndef THUMBNAIL_H
  2. #define THUMBNAIL_H
  3.  
  4. #ifndef CLIPPINGFILE_H
  5. #include "ClippingFile.h"
  6. #endif
  7.  
  8. class CClippingWindow;
  9.  
  10. class CThumbnail {
  11.  
  12. public:
  13.     static CThumbnail*    NewThumbnail (CClippingFile* file, Rect& bounds);
  14.     
  15. protected:
  16.     CThumbnail (CClippingFile* file);
  17.  
  18. public:
  19.     virtual ~CThumbnail ();
  20.     virtual void Draw        (Rect &r) = 0;
  21.  
  22. protected:
  23.     CClippingFile*        fFile;
  24.     
  25. };
  26.  
  27. #endif
  28.  
  29.